package TeduTest;

public class test {
    public static void main(String[] args) {
        Director_of_teaching_and_research dotar=new Director_of_teaching_and_research("总监1",50,20000);
            dotar.clock_in();
            dotar.Clock_out();
            dotar.finish_the_work();
            dotar.sep();
            dotar.eb();
            dotar.te();


        /*
        Staff_And_Workers[] staff=new Staff_And_Workers[4];
        staff[0]=new Director_of_teaching_and_research("总监1",50,20000);
        staff[1]=new lecturer("讲师1",40,15000);
        staff[2]=new project_manager("项目经理1",30,10000);
        staff[3]=new class_teacher("班主任1",25,5000);

        staff[2].clock_in();
        staff[3].Clock_out();

        staff[0].finish_the_work();
        staff[1].finish_the_work();
        staff[2].finish_the_work();
        staff[3].finish_the_work();

        for (int i = 0; i < staff.length ; i++) {
            System.out.println("大家好我叫："+staff[i].name+",今年"+staff[i].age+"岁了，工资是"+staff[i].salary);

        }




         */



    }
}
